package org.coc.iot.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.coc.iot.entity.SysRoleUser;

import java.util.Map;

/**
 * @Description: 接口
 * @author 
 * @version 1.0
 * @created 
 */
@Mapper
public interface SysRoleUserMapper extends BaseMapper<SysRoleUser>{

	/**
	 * 根据用户ID删除用户拥有角色
	 * @param param
	 * @return
	 */
	public int deleteSysRoleUserByUserId(Map<String, Object> param);
	
	/**
	 * 根据角色ID删除用户拥有角色
	 * @param param
	 * @return
	 */
	public int deleteSysRoleUserByRoleId(Map<String, Object> param);

}
